;(function($) { 
	jQuery.fn.valorPadrao = function() {
		
		var _ValoresPadrao = new Array();		
		var $this = jQuery(this);
		
		$this.each(function() {
			
			var $$this = jQuery(this);
			var _valor = $$this.val();
			var _id = $$this.attr('id');
			
			_ValoresPadrao[_id] = _valor;
			
		}).bind('focus', function(){
			
			var $$this = jQuery(this);
			var _valor = $$this.val();
			var _id = $$this.attr('id');
			
			if ( _valor == _ValoresPadrao[_id] ) { $$this.val(''); }
			
		}).bind('blur', function(){
			
			var $$this = jQuery(this);
			var _valor = $$this.val();
			var _id = $$this.attr('id');
			
			if ( _valor == '' ) { $$this.val( _ValoresPadrao[_id] ); }
			
		}).bind('change', function(){
			
			var $$this = jQuery(this);
			var _valor = $$this.val();
			var _id = $$this.attr('id');
			
			if ( _valor == '' ) { $$this.val( _ValoresPadrao[_id] ); }
			
		});
		
		return $this;
		
	}
})(jQuery);